package com.jetpackmvp.internet

import com.jetpackmvp.entities.UserBean
import com.jetpackmvp.utils.login
import io.reactivex.Observable
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * @author: GY.LEE
 * @date: 2019-06-04
 */
interface RetrofitService {
    /**
     * 用户登录
     */
    @POST(login)
    fun doLogin(@Body requestBody: RequestBody): Observable<UserBean>

}